hip.util.memory

Public imports free, malloc, realloc, memcpy, memcmp, memset. - toHeap!T executes malloc + memcpy - alloc!T is a malloc with the type size - allocSlice!T will return a heap allocated slice

Public Imports

core.stdc.stdlib
public import core.stdc.stdlib;
Undocumented in source.

Members

Classes

Pool
class Pool(T)
Undocumented in source.

Functions

alloc
T* alloc(size_t count)
Undocumented in source. Be warned that the author may not have intended to support it.
allocSlice
T[] allocSlice(size_t count)
Undocumented in source. Be warned that the author may not have intended to support it.
freeGCMemory
void freeGCMemory(void* data, string f, size_t l)
Undocumented in source. Be warned that the author may not have intended to support it.
freeGCMemory
void freeGCMemory(void[] data, string f, size_t l)
Undocumented in source. Be warned that the author may not have intended to support it.
freeGCMemory
void freeGCMemory(void* data, string f, size_t l)
Undocumented in source. Be warned that the author may not have intended to support it.
freeGCMemory
void freeGCMemory(T[] data, string f, size_t l)
Undocumented in source. Be warned that the author may not have intended to support it.
memcmp (from core.stdc.string)
int memcmp(const(void*) str1, const(void*) str2, size_t n) via public import core.stdc.string : memcpy, memcmp, memset;
Undocumented in source.
memcpy (from core.stdc.string)
void* memcpy(void* dest, const(void*) src, size_t n) via public import core.stdc.string : memcpy, memcmp, memset;
Undocumented in source.
memset (from core.stdc.string)
void* memset(void* str, int c, size_t n) via public import core.stdc.string : memcpy, memcmp, memset;
Undocumented in source.
setZeroMemory
void setZeroMemory(T variable)
Undocumented in source. Be warned that the author may not have intended to support it.
toHeap
void* toHeap(T data)
Undocumented in source. Be warned that the author may not have intended to support it.
toHeap
void* toHeap(T data)
Undocumented in source. Be warned that the author may not have intended to support it.
toHeapSlice
void[] toHeapSlice(T data)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta